/**
 * 
 */
package com.nars.generics.exercises;

/**
 * @author Student
 *
 */
public class MaximalType<T> {
	
	public static <T extends Comparable<T>> T maximalElement(T[] array) {
		int i = array.length;
		T result = array[i-1];
		return result;
	}
}
